package com.example.demo.dto;
import lombok.Data;
import org.json.simple.JSONObject;

@Data
public class TextTranslate {
    private String org_text;
    private String trans_text;
    public TextTranslate(JSONObject object)throws Exception{
        org_text = (String)object.get("org_text");
        trans_text = (String)object.get("trans_text");
    }
}
